package de.karlNet.sambamanager.ldapController;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.ldap.core.LdapTemplate;
import org.springframework.stereotype.Controller;

@Controller
@Scope(value="session", proxyMode=ScopedProxyMode.TARGET_CLASS)
public class OriginalLdapTree extends AbstractLdapTree {
	@Autowired
	@Qualifier("ldapTemplate")
	private LdapTemplate ldapTemplate;

	@Override
	protected LdapTemplate getLdapTemplate() {
		return this.ldapTemplate;
	}
}
